package com.yicong.ants.manager;

import com.cchao.simplelib.util.StringHelper;
import com.yicong.ants.manager.config.ZzConfigs;

/**
 * @author cch
 * @version 2021/4/29
 */
public class ConfigService {

    public static final String tip_public_video_comment = "tip_public_video_comment";

    public static String getConfig(String key) {
        switch (key) {
            case tip_public_video_comment:
                if (StringHelper.isNotEmpty(ZzConfigs.getClientConf().getTip_public_video_comment())) {
                    return ZzConfigs.getClientConf().getTip_public_video_comment();
                }
                return "评论功能暂只对活跃度大于100的用户开放。严禁发布任何违法言论和推广的内容。情节严重平台将会采取禁言或封号处理";
        }
        return "";
    }
}
